Check whether a device is already configured before trying to configure it
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 24 Nov 2005 15:57:36 +0000 (15:57 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 24 Nov 2005 15:57:36 +0000 (15:57 +0000)
commit5840748740cdcc8db0d92ef81c893afec159270d
tree75a829d0d252b7e1abfa1958a18fd913fddd2b96
parent2bf2793e181ac13c19a2b3021cde4a715c8dd463
Check whether a device is already configured before trying to configure it
again.  Closes bug #397.

To perform this check in the same transaction as the writing of the device
entries has required a little bit of rejigging.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/DevController.py